<div class="row" style="height:100%;">
	<div class="col-lg-12" style="border-right:1px solid #e6e6e6;padding-right:0px;">
		<h1 class="site-h1" style="background-color:#FFFFFF;">
			网关状态<#if onlinegateway??>（${onlinegateway?size}）</#if>
		</h1>
		<div class="row">
			<div class="col-lg-12">
				<div class="row" style="padding:5px;">
					<div class="col-lg-12">
						<table class="layui-table" lay-skin="line">
						  <colgroup>
								<col width="10%">
								<col width="20%">
								<col width="10%">
								<col width="10%">
								<col width="10%">
								<col width="10%">
								<col width="1%">
								<col>
						  </colgroup>
						  <thead>
							<tr>
							<#if onlinegateway?? && onlinegateway?size gt 0>
							  <th>名称name</th>
							  <th>类型type</th>
							  <th>状态state</th>
							  <th>profile</th>
							  <th>to</th>
							  <th style="white-space:nowrap;" nowrap="nowrap">操作</th>
							</#if>
							</tr> 
						  </thead>
						  <tbody>
							<#if onlinegateway?? && onlinegateway?size gt 0>
							<#list onlinegateway as gateway>
							<tr>
							   <td>
									${gateway.name!''}
							  </td>
							  <td>
									${gateway.type!'gateway'}
							  </td>
							  <td>
									${gateway.state!''}
							  </td>
							  <td>
									${gateway.profile!''}
							  </td>
							  <td>
									${gateway.to!''}
							  </td>
							  <td style="white-space:nowrap;" nowrap="nowrap">
							  		<a href="/admin/callcenter/siptrunk/onlinegateway/detail.html?name=${gateway.name!''}&hostid=${pbxHost.id!''}" data-toggle="ajax" data-width="700" data-height="550" data-title="查看网关详细信息">
							  			<i class="layui-icon">&#xe642;</i>
							  			详情
							  		</a>
							  </td>
							</tr>
							</#list>
							<#else>
								<div class="ukefu-empty">
									<i class="layui-icon"></i>
									<div style="">
										还没有网关记录
									</div>
								</div>	
							</#if>
						  </tbody>
						</table>
					</div> 	   
				</div>
			</div>	
		</div>
	</div>	
</div>
